$height: 100rpx; // 高度(注: 无法用var(--height_tabBar), 若改动, 要改app.scss)
$imageSize: 50rpx;
$fontSize: 24rpx;
$color: #999;
$color_selected: #034a99;
$boxShadow: 0 0 16rpx 0 rgba(0, 0, 0, .1);

.zj-tabBar{
  height: $height;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  // border-top: 2rpx solid $color;
  box-shadow: $boxShadow;
  font-size: $fontSize;
}
.zj-tabBar-item{
  height: 100%;
  width: 18%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  .zj-tabBar-image{
    height: $imageSize;
    width: $imageSize;
  }
  .zj-tabBar-text{
    color: $color;
  }
  .zj-tabBar-dot{
    height: 1.2em;
    min-width: 1.2em;
    background-color: #ff0000;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.2em;
    padding: 0 .2em;
    font-size: $fontSize;
    color: #fff;
    position: absolute;
    top: 0;
    left: 70%;
    z-index: 1;
  }
}
.zj-tabBar-item.selected{
  .zj-tabBar-text{
    color: $color_selected;
    font-weight: bold;
  }
}
